package com.senven.common.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author 周世玉
 * @since 2022-08-31
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("shopping_trolley")
@ApiModel(value = "ShoppingTrolley")
public class ShoppingTrolley implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("购物车编号")
    @TableId(value = "st_id", type = IdType.AUTO)
    private Integer stId;

    @ApiModelProperty("商品编号")
    private Integer gid;

    @ApiModelProperty("店铺编号")
    private Integer bid;

    @ApiModelProperty("商品价格")
    private Integer gprice;

    @ApiModelProperty("商品数量")
    private Integer stNum;

    @ApiModelProperty("用户id")
    private String uid;

    @ApiModelProperty("逻辑删除 1（true）已删除， 0（false）未删除")
    @TableLogic(value = "0",delval = "1")
    @TableField(value = "is_deleted")
    private Boolean isDeleted;

    private String goodsname;

    private String branchname;

    private String goodsUrl;

    private String branchUrl;



}
